﻿// =================================================================== 
// 模块说明
//====================================================================
// 创建时间：2018-12-13 12:49:32
// 负责人：lvsc
// ===================================================================
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.Linq.Expressions;
using Microsoft.Practices.EnterpriseLibrary.Common;
using Microsoft.Practices.EnterpriseLibrary.Data;
using OF.Utility;
using OF.Component.Model;
using OF.Component.IDAL;
using System.Text;
namespace OF.Component.DAL
{
	
	/// <summary>
	///网办订单过期 数据访问层
	/// </summary>	
	internal partial class NetworkOrderExpire
	{		
    
        /// <summary>
    	/// 根据断言条件获取单个网办订单过期
    	/// </summary>
        public NetworkOrderExpireInfo QuerySingle(Expression<Func<NetworkOrderExpireInfo, bool>> predicate)
	    {
            return SQLServerProvider.CreateObject(ConnectionStringKey, predicate);
        }
        
        /// <summary>
    	/// 根据断言条件获获取网办订单过期列表
    	/// </summary>
	    public IList<NetworkOrderExpireInfo> QueryList(Expression<Func<NetworkOrderExpireInfo, bool>> predicate)
	    {
	        return SQLServerProvider.CreateList(ConnectionStringKey, predicate);
	    }
		
	}
	
}